﻿using shenghua.Commodity.Commodities.Dto;
using shenghua.Common.Dto;
using shenghua.Member.Collection.Dto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace shenghua.Member.Collection
{
    public interface ICollectionAppService
    {
        Task<CollectionCommodityDto> Add(AddCollectionItemDto input);
        Task Adds(AddCollectionDto input);
        Task<List<CollectionCommodityDto>> GetAll();
        Task Remove(DeleteDto input);
        Task Cancel(AddCollectionItemDto input);
        Task<SearchResultDto<CollectionCommodityDto>> Search(SearchDto input);
        Task<int> GetCommodityCollectedCount(int commodityId);
    }
}
